//
//  SharedViewControllers.m
//  LoanOne
//
//  Created by WangZhenyu on 2017/10/5.
//  Copyright © 2017年 WangZhenyu. All rights reserved.
//

#import "SharedViewControllers.h"
#import "FormalOneViewController.h"
#import "FormalTwoViewController.h"
#import "FormalThreeViewController.h"
#import "FormalFourViewController.h"

#import "ExamineOneViewController.h"
#import "ExamineTwoViewController.h"
#import "ExamineThreeViewController.h"

@implementation SharedViewControllers

+ (FormalOneViewController *)formalOneViewCon{
    static FormalOneViewController *kViewCon = nil;
    if (!kViewCon) {
        kViewCon = [[FormalOneViewController alloc] initWithNibName:@"FormalOneViewController" bundle:nil];
    }
    return kViewCon;
}

+ (FormalTwoViewController *)formalTwoViewCon{
    static FormalTwoViewController *kViewCon = nil;
    if (!kViewCon) {
        kViewCon = [[FormalTwoViewController alloc] initWithNibName:@"FormalTwoViewController" bundle:nil];
    }
    return kViewCon;
}

+ (FormalThreeViewController *)formalThreeViewCon{
    static FormalThreeViewController *kViewCon = nil;
    if (!kViewCon) {
        kViewCon = [[FormalThreeViewController alloc] initWithNibName:@"FormalThreeViewController" bundle:nil];
    }
    return kViewCon;
}

+ (FormalFourViewController *)formalFourViewCon{
    static FormalFourViewController *kViewCon = nil;
    if (!kViewCon) {
        kViewCon = [[FormalFourViewController alloc] initWithNibName:@"FormalFourViewController" bundle:nil];
    }
    return kViewCon;
}

+ (ExamineOneViewController *)examineOneViewCon{
    static ExamineOneViewController *kViewCon = nil;
    if (!kViewCon) {
        kViewCon = [[ExamineOneViewController alloc] initWithNibName:@"ExamineOneViewController" bundle:nil];
    }
    return kViewCon;
}

+ (ExamineTwoViewController *)examineTwoViewCon{
    static ExamineTwoViewController *kViewCon = nil;
    if (!kViewCon) {
        kViewCon = [[ExamineTwoViewController alloc] initWithNibName:@"ExamineTwoViewController" bundle:nil];
    }
    return kViewCon;
}

+ (ExamineThreeViewController *)examineThreeViewCon{
    static ExamineThreeViewController *kViewCon = nil;
    if (!kViewCon) {
        kViewCon = [[ExamineThreeViewController alloc] initWithNibName:@"ExamineThreeViewController" bundle:nil];
    }
    return kViewCon;
}
@end
